package org.javaopenaccess.consoleapp;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ConsoleMain {
	
	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext(
		        new String[] {"consoleapp-controllers.xml"});
		ConsoleMenuController mainController = (ConsoleMenuController) context.getBean("consoleMenuController");
		System.out.println("ObjectReach Command Line Client Pre-Alpha");
		mainController.displayMenu();
	}
	
	
}
